import { create } from 'zustand'

interface ConfigStore {
  config: Record<string, any>
}

const useConfigStore = create<ConfigStore>(set => ({
  config: {
    env: {
      env: true,
    },
  },
  enum: {},
  setConfig: (config: Record<string, any>) => set({ config }),
}))
export default useConfigStore
